//
//  File.swift
//  
//
//  Created by 徐彤 on 2022/12/30.
//

import Foundation

class Images: Encodable {
    var prompt: String
    var n: Int
    var size: String
    var response_format: String
    var user: String
    
    init(prompt: String, n: Int, size: String, response_format: String, user: String) {
        self.prompt = prompt
        self.n = n
        self.size = size
        self.response_format = response_format
        self.user = user
    }
    
    enum CodingKeys: String, CodingKey {
        case prompt
        case n
        case size
        case response_format
        case user
    }
}
